const module = {
  namespaced: true,
  state: {
    meauitem1: [
      {
        id: 20,
        text: '沙发'
      },
      {

        id: 21,
        text: '椅凳'
      },
      {
        id: 24,
        text: '架柜'
      },
      {
        id: 2012,
        text: '休闲椅'
      },
      {
        id: 2210,
        text: '餐桌'
      },
      {
        id: 2211,
        text: '茶几'
      },
      {
        id: 2212,
        text: '书桌'
      },
      {
        id: 2310,
        text: '床'
      }
    ],
    meauitem2: [
      {
        id: 25,
        text: '灯具'
      },
      {
        id: 26,
        text: '用餐'
      },
      {
        id: 32,
        text: '时尚生活'
      },
      {
        id: 33,
        text: '收纳'
      },
      {
        id: 27,
        text: '烹饪'
      },
      {
        id: 28,
        text: '纺织品'
      },
      {
        id: 29,
        text: '家饰'
      },
      {
        id: 31,
        text: '卫浴'
      }
    ]
  },
  mutations: {
    setItem1 (state) {
      state.meauitem1.shift()
    },
    setItem2 (state) {
      state.meauitem2.shift()
    }
  }
}

export default module
